home *** CD-ROM | disk | FTP | other *** search
- Short: AmiTCP link library for gcc with source
- Author: jsshephe@undergrad.math.uwaterloo.ca (Jeff Shepherd)
- Uploader: jsshephe@undergrad.math.uwaterloo.ca (Jeff Shepherd)
- Type: comm/tcp
-
- This code is strictly BETA!!. It works with MuiADT and Pine but does not guarantee
- it will work with anything else. You are free to modify/correct the code as
- long as you mail me the changes.
-
- This compiles with gcc only!! All the SASC stuff was removed. If you want to
- compile with SASC, get the original API archive.
-
- I found 2 MISTAKES in the archive. The first is ug_SetupContextTags(). It does
- NOT take a program name argument. Also no syslog() function was supplied. I
- made one using vprintf().
-
- Enclosed are modified gcc include files in the directory netinclude.
- You can copy over the ones in gnu:include/
-
- To compile, specify -D__AMITCP__ on the commandline.
- To link specify libc.a -lamitcp. (Someone figure out why I need to link libc.a
- first. Without it, things behave very strangely.)
-
- A custom version of libc.a is supplied. (It doesn't have the wrappers for ixemul's
- pseudo-TCP functions).
-
- This archive was put together on the spur of the moment. Please tell me about
- anything that was left out.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 632 283 55.2% 25-May-95 22:41:28 AmiTCP-4.0-gcc.info
- 10636 4475 57.9% 19-Oct-94 14:31:52 +AmiTCP-sdk-40.readme
- 632 278 56.0% 20-Apr-95 17:56:46 +bin.info
- 27508 17074 37.9% 15-Oct-94 22:54:50 +cpp
- 4020 2274 43.4% 15-Oct-94 12:36:42 +rcsrev
- 54944 30294 44.8% 15-Oct-94 13:05:12 +rpcgen
- 6643 2835 57.3% 15-Oct-94 18:30:12 +COPYRIGHTS.SDK
- 478 249 47.9% 20-Apr-95 17:56:46 +COPYRIGHTS.SDK.info
- 632 283 55.2% 20-Apr-95 17:56:46 +doc.info
- 121679 34702 71.4% 26-Apr-94 11:06:38 +bsdsocket.doc
- 21375 7421 65.2% 15-Oct-94 13:05:38 +devtools.doc
- 8613 2807 67.4% 15-Oct-94 22:57:30 +netinfo.doc
- 61238 18860 69.2% 15-Oct-94 10:37:04 +netlib.doc
- 36225 11495 68.2% 20-Oct-93 07:57:24 +protocols.doc
- 2875 746 74.0% 15-Oct-94 10:37:08 +sana2lib.doc
- 45062 13468 70.1% 15-Oct-94 22:56:26 +usergroup.doc
- 464756 128783 72.2% 30-Sep-94 03:06:46 +RPC.guide
- 504 259 48.6% 19-May-94 03:13:34 +RPC.guide.info
- 102478 24597 75.9% 23-May-95 21:53:54 +libc.a
- 4032 1753 56.5% 19-Oct-94 17:05:30 +LICENCE.SDK
- 478 249 47.9% 20-Apr-95 17:56:46 +LICENCE.SDK.info
- 3718 1565 57.9% 07-Apr-95 23:10:14 +socketbasetags.h
- 1018 492 51.6% 07-Apr-95 23:10:14 +types.h
- 3646 1623 55.4% 07-Apr-95 23:10:14 +ftp.h
- 2351 1133 51.8% 07-Apr-95 23:10:14 +inet.h
- 8505 3288 61.3% 07-Apr-95 23:10:14 +nameser.h
- 10035 3781 62.3% 07-Apr-95 23:10:14 +telnet.h
- 2960 1439 51.3% 07-Apr-95 23:10:14 +tftp.h
- 464 294 36.6% 04-Jun-95 16:47:18 +bsdsocket.h
- 2244 918 59.0% 07-Apr-95 23:12:00 +netinfo.h
- 9642 2962 69.2% 07-Apr-95 23:11:48 +sana2.h
- 8275 2578 68.8% 07-Apr-95 23:11:48 +sana2.i
- 1527 720 52.8% 07-Apr-95 23:11:48 +sana2specialstats.h
- 1523 723 52.5% 07-Apr-95 23:11:48 +sana2specialstats.i
- 4132 1909 53.7% 04-Jun-95 16:47:18 +dirent.h
- 23 23 0.0% 04-Jun-95 16:47:18 +fcntl.h
- 2380 971 59.2% 07-Apr-95 23:12:58 +socket_lib.fd
- 1347 567 57.9% 07-Apr-95 23:12:58 +usergroup_lib.fd
- 1765 921 47.8% 04-Jun-95 16:47:18 +inetd.h
- 29039 3993 86.2% 18-May-95 17:49:50 +socket.h
- 15863 2127 86.5% 04-Apr-95 23:44:56 +usergroup.h
- 1675 800 52.2% 07-Apr-95 23:14:56 +usergroup.h
- 1432 782 45.3% 04-Jun-95 16:58:58 +af.h
- 8212 3186 61.2% 04-Jun-95 16:59:40 +if.h
- 3128 1395 55.4% 04-Jun-95 16:49:20 +if_arp.h
- 1977 1027 48.0% 07-Apr-95 23:07:52 +if_dl.h
- 3371 1532 54.5% 04-Jun-95 16:49:20 +if_types.h
- 7369 2802 61.9% 04-Jun-95 16:59:16 +route.h
- 687 329 52.1% 04-Jun-95 16:49:20 +sana2errno.h
- 819 364 55.5% 04-Jun-95 16:49:20 +sana2tags.h
- 5401 2093 61.2% 04-Jun-95 16:47:18 +netdb.h
- 5063 2036 59.7% 04-Jun-95 17:00:02 +in.h
- 3202 1589 50.3% 04-Jun-95 16:47:18 +nlist.h
- 490 319 34.8% 07-Apr-95 23:15:42 +socket.h
- 510 328 35.6% 07-Apr-95 23:15:42 +usergroup.h
- 3936 1690 57.0% 04-Jun-95 16:47:18 +pwd.h
- 3945 1603 59.3% 07-Apr-95 23:04:52 +auth.h
- 1470 782 46.8% 07-Apr-95 23:04:52 +auth_unix.h
- 7767 2797 63.9% 07-Apr-95 23:04:52 +clnt.h
- 914 382 58.2% 07-Apr-95 23:04:52 +gst.h
- 2176 840 61.3% 07-Apr-95 23:04:52 +pmap_clnt.h
- 2415 1027 57.4% 07-Apr-95 23:04:52 +pmap_prot.h
- 885 472 46.6% 07-Apr-95 23:04:52 +pmap_rmt.h
- 2003 981 51.0% 07-Apr-95 23:04:52 +rpc.h
- 3211 1283 60.0% 07-Apr-95 23:04:52 +rpc_msg.h
- 8208 3042 62.9% 07-Apr-95 23:04:52 +svc.h
- 602 355 41.0% 07-Apr-95 23:04:52 +svc_auth.h
- 1690 778 53.9% 07-Apr-95 23:04:52 +types.h
- 10602 3517 66.8% 07-Apr-95 23:04:52 +xdr.h
- 1554 689 55.6% 07-Apr-95 23:15:56 +bootparam_prot.x
- 2217 877 60.4% 07-Apr-95 23:15:56 +klm_prot.x
- 2225 761 65.7% 07-Apr-95 23:15:56 +Makefile.org
- 3096 1273 58.8% 07-Apr-95 23:15:56 +mount.x
- 6415 2107 67.1% 07-Apr-95 23:15:56 +nfs_prot.x
- 3476 1245 64.1% 07-Apr-95 23:15:56 +nlm_prot.x
- 5846 2013 65.5% 07-Apr-95 23:15:56 +rex.x
- 882 388 56.0% 07-Apr-95 23:15:56 +rnusers.x
- 1569 693 55.8% 07-Apr-95 23:15:56 +rquota.x
- 2219 798 64.0% 07-Apr-95 23:15:56 +rstat.c
- 2425 768 68.3% 07-Apr-95 23:15:56 +rstat.x
- 7527 2034 72.9% 07-Apr-95 23:15:56 +rstat_proc.c
- 2277 791 65.2% 07-Apr-95 23:15:56 +sm_inter.x
- 969 508 47.5% 07-Apr-95 23:15:56 +spray.x
- 4861 1736 64.2% 07-Apr-95 23:15:56 +yp.x
- 716 376 47.4% 07-Apr-95 23:15:56 +yppasswd.x
- 2904 1464 49.5% 04-Jun-95 16:58:10 +acct.h
- 6721 2767 58.8% 04-Jun-95 16:58:10 +fcntl.h
- 10094 3845 61.9% 04-Jun-95 16:58:10 +mount.h
- 9367 3828 59.1% 04-Jun-95 16:58:10 +proc.h
- 5614 2157 61.5% 04-Jun-95 16:58:10 +stat.h
- 6718 2681 60.0% 04-Jun-95 17:00:18 +syslog.h
- 4812 2120 55.9% 04-Jun-95 16:58:10 +types.h
- 2341 1170 50.0% 04-Jun-95 16:58:10 +ucred.h
- 909 539 40.7% 04-Jun-95 16:31:32 +README
- 801 434 45.8% 30-Sep-94 02:05:38 +compile.lib
- 1300 587 54.8% 30-Sep-94 02:09:58 +GNUmakefile
- 1979 496 74.9% 16-Mar-95 17:11:22 +dir.h
- 780 400 48.7% 09-Mar-94 10:15:18 +dir.x
- 516 319 38.1% 16-Mar-95 17:11:22 +dir_clnt.c
- 930 467 49.7% 09-Mar-94 10:15:20 +dir_proc.c
- 33248 16841 49.3% 26-Mar-95 14:00:36 +dir_svc
- 2255 886 60.7% 17-Mar-95 22:05:24 +dir_svc.c
- 1015 362 64.3% 16-Mar-95 17:11:22 +dir_xdr.c
- 903 514 43.0% 26-Mar-95 13:59:38 +Makefile
- 25792 13222 48.7% 26-Mar-95 14:01:12 +rls
- 1700 805 52.6% 17-Mar-95 22:45:38 +rls.c
- 969 512 47.1% 30-Sep-94 02:21:20 +sasc_Makefile
- 346 218 36.9% 09-Mar-94 10:15:16 +SCOPTIONS
- 969 512 47.1% 30-Sep-94 02:21:20 +Smakefile
- 183 148 19.1% 09-Mar-94 10:15:48 +msg.x
- 649 387 40.3% 09-Mar-94 10:15:48 +msg_proc.c
- 826 434 47.4% 09-Mar-94 10:15:48 +printmsg.c
- 1584 746 52.9% 09-Mar-94 10:15:50 +rprintmsg.c
- 346 218 36.9% 09-Mar-94 10:15:46 +SCOPTIONS
- 1144 591 48.3% 30-Sep-94 02:21:22 +Smakefile
- 883 468 46.9% 09-Mar-94 10:16:10 +rsort.c
- 346 218 36.9% 09-Mar-94 10:16:08 +SCOPTIONS
- 1193 557 53.3% 30-Sep-94 02:21:24 +Smakefile
- 455 274 39.7% 09-Mar-94 10:16:10 +sort.x
- 709 322 54.5% 09-Mar-94 10:16:10 +sort_proc.c
- 1383 732 47.0% 30-Sep-94 02:12:42 +in.example.c
- 151 128 15.2% 30-Sep-94 02:12:20 +Smake.def
- 909 503 44.6% 30-Sep-94 02:10:00 +Smakefile
- 25368 10004 60.5% 28-May-95 18:46:52 +libamitcp000.a
- 2979 1196 59.8% 25-Mar-95 14:46:16 +__errno.c
- 650 402 38.1% 16-May-95 21:16:40 +_close.c
- 1796 902 49.7% 16-May-95 21:16:24 +_read.c
- 1640 753 54.0% 16-May-95 21:16:12 +_write.c
- 7108 2791 60.7% 02-Jun-95 19:12:56 +autoinit.c
- 4856 2191 54.8% 31-May-95 20:56:52 +chown.c
- 1651 875 47.0% 16-May-95 21:16:56 +close.c
- 520 308 40.7% 23-Mar-95 00:00:36 +dummy.c
- 2544 1206 52.5% 13-Apr-95 00:03:18 +falloc.c
- 463 218 52.9% 15-Mar-95 20:48:12 +gcc.h
- 94 77 18.0% 24-Mar-95 02:12:38 +gcc_fstat.s
- 98 82 16.3% 25-Mar-95 01:04:26 +gcc_select.s
- 398 288 27.6% 23-Mar-95 00:05:20 +getpid.c
- 1602 779 51.3% 23-Mar-95 00:05:38 +herror.c
- 1986 906 54.3% 23-Mar-95 00:05:48 +init_daemon.c
- 4031 1732 57.0% 24-Mar-95 20:57:10 +init_usergroup.c
- 319 221 30.7% 16-May-95 21:17:10 +ioctl.c
- 5834 2409 58.7% 25-May-95 20:11:10 +ix_dup.c
- 3099 1490 51.9% 24-Mar-95 20:39:04 +ix_panic.c
- 24840 10015 59.6% 31-May-95 21:19:28 +libamitcp.a
- 9925 3508 64.6% 23-Mar-95 00:07:54 +lineread.c
- 2159 936 56.6% 23-Mar-95 00:08:04 +linkaddr.c
- 1056 563 46.6% 23-Mar-95 00:08:14 +linkntoa.c
- 825 456 44.7% 28-May-95 18:35:32 +Makefile
- 820 462 43.6% 31-May-95 21:18:12 +Makefile.020
- 1544 794 48.5% 13-Mar-95 23:17:04 +Makefile.gcc
- 9474 2881 69.5% 30-Sep-94 01:10:26 +makefile.sasc
- 710 364 48.7% 30-Sep-94 01:10:26 +netlib.h
- 1964 850 56.7% 22-Mar-95 23:59:58 +printfault.c
- 1394 648 53.5% 29-Mar-95 21:08:58 +printuserfault.c
- 8955 3565 60.1% 02-Apr-95 11:38:10 +rcmd.c
- 4171 1464 64.9% 23-Mar-95 00:10:48 +sana2errlist.c
- 2018 853 57.7% 23-Mar-95 00:26:16 +sana2perror.c
- 3285 1315 59.9% 23-Mar-95 00:11:16 +serveraccept.c
- 1755 788 55.0% 16-May-95 22:03:12 +set_stdio.c
- 725 424 41.5% 28-Mar-95 19:10:10 +setegid.c
- 363 260 28.3% 23-Mar-95 00:57:00 +seteuid.c
- 162 119 26.5% 18-Mar-95 01:17:48 +socketbasetags.c
- 666 363 45.4% 23-Mar-95 00:16:10 +stubs.c
- 5366 2307 57.0% 25-Mar-95 02:17:10 +syslog.c
- 43 43 0.0% 18-Mar-95 12:21:12 +ttyname.c
- 4471 1846 58.7% 23-Mar-95 01:07:14 +ug_ContextTags.c
- 3699 1617 56.2% 30-Sep-94 02:04:58 +README.RPC
- 2423 978 59.6% 30-Sep-94 01:49:00 +auth_none.c
- 7317 2397 67.2% 30-Sep-94 01:49:02 +auth_unix.c
- 1324 611 53.8% 30-Sep-94 01:49:04 +authunix_prot.c
- 1299 662 49.0% 30-Sep-94 01:49:04 +bindresvport.c
- 1016 518 49.0% 16-Mar-95 16:49:22 +chkabort.c
- 2240 980 56.2% 30-Sep-94 01:49:06 +clnt_generic.c
- 5516 1816 67.0% 28-Mar-95 18:06:30 +clnt_perror.c
- 5155 1957 62.0% 30-Sep-94 01:49:08 +clnt_raw.c
- 2538 1095 56.8% 30-Sep-94 01:49:08 +clnt_simple.c
- 11521 4018 65.1% 16-Mar-95 16:02:06 +clnt_tcp.c
- 11708 3973 66.0% 16-Mar-95 16:04:32 +clnt_udp.c
- 1184 687 41.9% 07-Mar-94 04:44:12 +DISCLAIMER
- 2494 1157 53.6% 30-Sep-94 01:49:12 +get_myaddress.c
- 4318 1511 65.0% 17-Mar-95 21:19:34 +getrpcent.c
- 894 512 42.7% 30-Sep-94 01:49:14 +getrpcport.c
- 1452 717 50.6% 30-Sep-94 01:49:40 +GNUmakefile
- 218 162 25.6% 30-Sep-94 01:49:14 +gst.c
- 15243 3585 76.4% 25-Mar-95 01:28:52 +Makefile
- 2431 895 63.1% 30-Sep-94 01:49:16 +pmap_clnt.c
- 1671 850 49.1% 30-Sep-94 01:49:16 +pmap_getmaps.c
- 1846 925 49.8% 30-Sep-94 01:49:18 +pmap_getport.c
- 853 466 45.3% 30-Sep-94 01:49:18 +pmap_prot.c
- 2783 1336 51.9% 30-Sep-94 01:49:20 +pmap_prot2.c
- 10776 3936 63.4% 16-Mar-95 16:12:42 +pmap_rmt.c
- 4622 1117 75.8% 30-Sep-94 01:49:22 +rpc_callmsg.c
- 669 377 43.6% 30-Sep-94 01:49:22 +rpc_commondata.c
- 723 426 41.0% 30-Sep-94 01:49:24 +rpc_dtablesize.c
- 6239 1998 67.9% 30-Sep-94 01:49:24 +rpc_prot.c
- 19057 4310 77.3% 30-Sep-94 01:49:42 +sasc.Makefile
- 19057 4310 77.3% 30-Sep-94 01:49:42 +Smakefile
- 10926 3538 67.6% 30-Sep-94 01:49:26 +svc.c
- 2722 1215 55.3% 30-Sep-94 01:49:26 +svc_auth.c
- 3074 1370 55.4% 30-Sep-94 01:49:28 +svc_auth_unix.c
- 3242 1139 64.8% 30-Sep-94 01:49:28 +svc_raw.c
- 1098 608 44.6% 30-Sep-94 01:49:30 +svc_run.c
- 3109 1276 58.9% 30-Sep-94 01:49:30 +svc_simple.c
- 10169 3270 67.8% 30-Sep-94 01:49:32 +svc_tcp.c
- 11636 3773 67.5% 30-Sep-94 01:49:32 +svc_udp.c
- 10079 3051 69.7% 30-Sep-94 01:49:34 +xdr.c
- 3234 1385 57.1% 30-Sep-94 01:49:34 +xdr_array.c
- 6025 1711 71.6% 30-Sep-94 01:49:36 +xdr_float.c
- 3282 1062 67.6% 30-Sep-94 01:49:36 +xdr_mem.c
- 15142 4331 71.3% 30-Sep-94 01:49:38 +xdr_rec.c
- 2678 1211 54.7% 30-Sep-94 01:49:38 +xdr_reference.c
- 4107 1500 63.4% 30-Sep-94 01:49:40 +xdr_stdio.c
- -------- ------- ----- --------- --------
- 1757611 597265 66.0% 04-Jun-95 23:45:08 212 files
-